package com.yuxi.Dao;

import org.springframework.stereotype.Repository;

import com.yuxi.Entity.InformationMapClassification;
import com.yuxi.Entity.InformationMapPerson;

@Repository
public interface InformationMapClassificationDao {
	/**
	 * 通过信息id获取分级
	 * @param 	id
	 * @return InformationMapClassification 
	 * */
	public InformationMapClassification getClassificationByInfoId(Integer id);
	/**
	 * 添加一个信息和分级
	 * @param 	c InformationMapSort实体类
	 * @return InformationMapSort 
	 * */
	public InformationMapClassification addClassification(InformationMapClassification c);
	/**
	 * 修改信息分级
	 * @param 	c InformationMapClassification
	 * @return  
	 * */
	public void modify(InformationMapClassification c);
	/**
	 * 删除信息分级
	 * @param 	c InformationMapClassification
	 * @return  
	 * */
	public void deleteClassification(InformationMapClassification c);
}
